<a class="icon_new" title="Ajouter un statut" href="<?php echo shRequest::link('administration', 'statut', 'create')?>">Créer un statut</a>
<?php $formulaire->display('_formulaireList.tpl') ?>
<?php foreach($status as $statut):
    //if ((($statut->id==1)&&(!empty ($enseignants[$statut->id])))
    //	    || ($statut->id!=1)):?>
<table class="liste tableauEnseignant">
    <thead>
	<tr>
	    <th colspan="2"><?php echo $statut->intitule ?></th>
	    <th class="icon"><a class="edit" title="Modifier ce statut" href="<?php echo shRequest::link('administration','statut','edit',$statut->id)?>"></a></th>
	    <th class="icon"><a class="delete" title="Supprimer ce statut" href="<?php echo shRequest::link('administration', 'statut', 'delete',$statut->id)?>"></a></th>
	</tr>
    </thead>
    <tbody>
	<tr>
	    <td colspan="4"><a class="icon_new" title="Ajouter un enseignant" href="<?php echo shRequest::link('administration', 'enseignant', 'create',$statut->id)?>">Ajouter un enseignant</a></td>
	</tr>
		<?php foreach($enseignants[$statut->id] as $enseignant): ?>
	<tr>
	    <td><?php echo $enseignant->nom?></td>
	    <td><?php echo $enseignant->prenom?></td>
	    <td class="icon"><a class="edit" title="Modifier l'enseignant" href="<?php echo shRequest::link('administration','enseignant','edit',$enseignant->id)?>"></a></td>
	    <td class="icon"><a class="delete" title="Supprime l'enseignant" href="<?php echo shRequest::link('administration','enseignant','delete',$enseignant->id)?>"></a></td>
	</tr>
		<?php endforeach ?>
    </tbody>
</table>
    <?php //endif;
endforeach ?>